import styled from 'styled-components';

export const ImgRotat = styled.img`
  animation: spin ${props=> props.isCircular && props.isPlay?'25s':''} infinite linear both;
  border-radius:${props => props.isCircular?'50%':''};

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
`;
